package com.lanchetech.admin.service;

import com.lanchetech.bean.request.LotteryOrderReq;
import com.lanchetech.bean.request.LotterySpuListReq;
import com.lanchetech.bean.request.PageReq;
import com.lanchetech.bean.response.BasePageResp;
import com.lanchetech.bean.response.BaseResp;
import com.lanchetech.bean.response.LotteryOrderResp;
import com.lanchetech.bean.response.ResultData;
import com.lanchetech.bean.vo.LotteryRecordVO;
import com.lanchetech.entity.Lottery;

public interface LotteryService {

    BaseResp editLottery(Lottery req);

    ResultData<BasePageResp<Lottery>> getLotteryPage(PageReq req);

    BaseResp deleteLottery(Long id);

    ResultData<Lottery> getLotteryDetail(Long id);

    ResultData<BasePageResp<LotteryRecordVO>> getLotteryRecordPage(PageReq req);

    ResultData lotterySpuList(LotterySpuListReq lotterySpuListReq);

    ResultData lotteryOrder(LotteryOrderReq lotteryOrderReq);

    ResultData<LotteryOrderResp> getLotteryOrderDetail(Long id);
}